package com.qf.mapper;

import com.qf.pojo.Authors;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface AuthorsMapper {

   void insertAuthors(Authors authors);
   @Select("select * from authors where  authorid=#{authorid} ")
   Authors selectAuthorById(@Param("authorid") Integer authorid);
}
